package cm.mefobe.android.telecomcost.entities;

public class TimeIntervall {
	private TimePeriod _period;
	private int _occurence;
	
	public TimeIntervall()
	{
		
	}

	public TimeIntervall(TimePeriod period, int occurence) {
		super();
		this.setPeriod(period);
		this.setOccurence(occurence);
	}

	public void setPeriod(TimePeriod period) {
		this._period = period;
	}

	public TimePeriod getPeriod() {
		return _period;
	}

	public void setOccurence(int occurence) {
		this._occurence = occurence;
	}

	public int getOccurence() {
		return _occurence;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return _occurence + " " + _period.toString();
	}		
}
